package com.detection.common.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 环境设备信息对象 yq_environment_device_info
 *
 * @author wanhy
 * @date 2024-11-05
 */
@ApiModel("环境设备信息")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class YqEnvironmentDeviceInfo
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 设备名称 */
    @ApiModelProperty("设备名称")
    private String deviceName;

    /** 设备类型 */
    @ApiModelProperty("设备类型")
    private String deviceType;

    /** 设备场景 */
    @ApiModelProperty("设备场景")
    private String deviceScene;

    /** 设备型号 */
    @ApiModelProperty("设备型号")
    private String deviceModel;

    /** IP地址 */
    @ApiModelProperty("IP地址")
    private String ip;

    /** 采集周期 */
    @ApiModelProperty("采集周期")
    private String collectionPeriod;

    /** 设备状态（0正常 1异常） */
    @ApiModelProperty("设备状态")
    private String status;

    private String reading1;

    private String reading2;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setDeviceType(String deviceType)
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType()
    {
        return deviceType;
    }
    public void setDeviceScene(String deviceScene)
    {
        this.deviceScene = deviceScene;
    }

    public String getDeviceScene()
    {
        return deviceScene;
    }
    public void setDeviceModel(String deviceModel)
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel()
    {
        return deviceModel;
    }
    public void setIp(String ip)
    {
        this.ip = ip;
    }

    public String getIp()
    {
        return ip;
    }
    public void setCollectionPeriod(String collectionPeriod)
    {
        this.collectionPeriod = collectionPeriod;
    }

    public String getCollectionPeriod()
    {
        return collectionPeriod;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public String getReading1() {
        return reading1;
    }

    public void setReading1(String reading1) {
        this.reading1 = reading1;
    }

    public String getReading2() {
        return reading2;
    }

    public void setReading2(String reading2) {
        this.reading2 = reading2;
    }

}
